/*
 * @Description:
 * @Author: dh
 * @Date: 2022-08-04 09:17:25
 * @LastEditors: dh
 * @LastEditTime: 2022-12-05 16:38:33
 */
import { defineStore } from 'pinia';

// 第一个参数可以写在对象里，用id接受
export const PiniaA = defineStore('PiniaA', {
	// id: 'PiniaA',
	state: () => {
		return {
			msg: 'helle piaia - A',
		};
	},
	getters: {},
	actions: {
		changeMsg(data: any) {
			this.msg = data;
		},
	},
});
